package ks.client.gui.admin.user.listeners;

/**
 * Temporarily stores user name and password information
 * to update the tables to batch create and delete users.
 * 
 * @author Jennifer Hunt
 *
 */
public class TempUser {
	
	/** Information. */
	String name;
	String password;
	
	/**
	 * Constructs a temporary user given a user name and password.
	 * 
	 * @param name
	 * @param password
	 */
	public TempUser (String name, String password) {
		this.name = name;
		this.password = password;
	}
	
	/**
	 * Constructs a temporary user given a suer name.
	 * 
	 * @param name
	 */
	public TempUser (String name) {
		this.name = name;
	}
	
	/**
	 * 
	 * toString() method, so the TempUser can be stored directly in the table.
	 */
	public String toString() {
		return name;
	}
	
	
}
